package com.sakura.eduservice.client.fallback;

import com.sakura.commonutils.R;
import com.sakura.eduservice.client.MemberClient;
import org.springframework.stereotype.Component;

@Component
public class MemberDegradeFeignClient implements MemberClient {
    @Override
    public R userInfo(String memberId) {
        return R.error().message("远程调用接口时获取会员信息失败");
    }
}
